namespace foundation
{
    public interface IDataOutput
	{
		void WriteBoolean(bool value);

		void WriteByte(byte value);

		void WriteBytes(byte[] bytes, int offset, int length);

		void WriteDouble(double value, bool littleEndian);
	
		void WriteFloat(float value, bool littleEndian);

		void WriteInt(int value, bool littleEndian);
		
		void WriteUInt(uint value, bool littleEndian);
		
		void WriteShort(short value, bool littleEndian);

		void WriteUShort(ushort value, bool littleEndian);

		void WriteObject(object value);

		void WriteUTF(string value);

		void WriteUTFBytes(string value);
	}
}
